import request from '@/utils/request'
export const lo = function () {
  return request.get('/admin/houses')
}
export const xian = function () {
  return request.get('/home/groups')
}
// 查询房屋的具体信息
export const jie = function (id) {
  return request.get('/houses', {
    id
  })
}
export const hot = function () {
  return request.get('/area/hot')
}
export const huo = function () {
  return request.get('/area/city', { params: { level: 1 } })
}
// 查看收藏
export const sc = function () {
  return request.get('/user/favorites')
}
// 查询城市
export const cha = function (params) {
  return request.get('/area/info', { params })
}
// 渲染数据
export const xuan = function (params) {
  return request.get('/area/community', { params })
}
